package com.situ.mall.mapper;

import com.situ.mall.pojo.entity.Cart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.situ.mall.pojo.vo.CartVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Gao
 * @since 2025-10-15
 */
public interface CartMapper extends BaseMapper<Cart> {

    List<CartVO> selectByUserId(Integer userId);

    List<CartVO> selectByIds(Integer[] cartIds);
}
